package com.ruoyi.labdata.domain;

import java.util.ArrayList;
import java.util.List;

/**
 * 预定课程数据
 */
public class ChooseDataVo {

  private String holidayDate;
  private int weekNum;
  private String dayName;
  /**
   * 第一节
   */
  private Integer sectionOne;

  /**
   * 第二节
   */
  private Integer sectionTwo;

  /**
   * 第三节
   */
  private Integer sectionThree;

  /**
   * 第四节
   */
  private Integer sectionFour;

  /**
   * 第五节
   */
  private Integer sectionFive;

  /**
   * 第六节
   */
  private Integer sectionSix;

  /**
   * 第七节
   */
  private Integer sectionSeven;

  /**
   * 第八节
   */
  private Integer sectionEight;

  /**
   * 第九节
   */
  private Integer sectionNine;

  /**
   * 第十节
   */
  private Integer sectionTen;

  /**
   * 第十一节
   */
  private Integer sectionEleven;

  /**
   * 第十二节
   */
  private Integer sectionTwelve;

  private List<Integer> sectionList;

  public String getHolidayDate() {
    return holidayDate;
  }

  public void setHolidayDate(String holidayDate) {
    this.holidayDate = holidayDate;
  }

  public int getWeekNum() {
    return weekNum;
  }

  public void setWeekNum(int weekNum) {
    this.weekNum = weekNum;
  }

  public String getDayName() {
    return dayName;
  }

  public void setDayName(String dayName) {
    this.dayName = dayName;
  }

  public Integer getSectionOne() {
    return sectionOne;
  }

  public void setSectionOne(Integer sectionOne) {
    this.sectionOne = sectionOne;
  }

  public Integer getSectionTwo() {
    return sectionTwo;
  }

  public void setSectionTwo(Integer sectionTwo) {
    this.sectionTwo = sectionTwo;
  }

  public Integer getSectionThree() {
    return sectionThree;
  }

  public void setSectionThree(Integer sectionThree) {
    this.sectionThree = sectionThree;
  }

  public Integer getSectionFour() {
    return sectionFour;
  }

  public void setSectionFour(Integer sectionFour) {
    this.sectionFour = sectionFour;
  }

  public Integer getSectionFive() {
    return sectionFive;
  }

  public void setSectionFive(Integer sectionFive) {
    this.sectionFive = sectionFive;
  }

  public Integer getSectionSix() {
    return sectionSix;
  }

  public void setSectionSix(Integer sectionSix) {
    this.sectionSix = sectionSix;
  }

  public Integer getSectionSeven() {
    return sectionSeven;
  }

  public void setSectionSeven(Integer sectionSeven) {
    this.sectionSeven = sectionSeven;
  }

  public Integer getSectionEight() {
    return sectionEight;
  }

  public void setSectionEight(Integer sectionEight) {
    this.sectionEight = sectionEight;
  }

  public Integer getSectionNine() {
    return sectionNine;
  }

  public void setSectionNine(Integer sectionNine) {
    this.sectionNine = sectionNine;
  }

  public Integer getSectionTen() {
    return sectionTen;
  }

  public void setSectionTen(Integer sectionTen) {
    this.sectionTen = sectionTen;
  }

  public Integer getSectionEleven() {
    return sectionEleven;
  }

  public void setSectionEleven(Integer sectionEleven) {
    this.sectionEleven = sectionEleven;
  }

  public Integer getSectionTwelve() {
    return sectionTwelve;
  }

  public void setSectionTwelve(Integer sectionTwelve) {
    this.sectionTwelve = sectionTwelve;
  }

  public void buildSectionList() {
    List<Integer> sectionList = new ArrayList<>();
    if (this.sectionOne != null) {
      sectionList.add(1);
    }
    if (this.sectionTwo != null) {
      sectionList.add(2);
    }
    if (this.sectionThree != null) {
      sectionList.add(3);
    }
    if (this.sectionFour != null) {
      sectionList.add(4);
    }
    if (this.sectionFive != null) {
      sectionList.add(5);
    }
    if (this.sectionSix != null) {
      sectionList.add(6);
    }
    if (this.sectionSeven != null) {
      sectionList.add(7);
    }
    if (this.sectionEight != null) {
      sectionList.add(8);
    }
    if (this.sectionNine != null) {
      sectionList.add(9);
    }
    if (this.sectionTen != null) {
      sectionList.add(10);
    }
    if (this.sectionEleven != null) {
      sectionList.add(11);
    }
    if (this.sectionTwelve != null) {
      sectionList.add(12);
    }
    this.sectionList = sectionList;
  }

  public List<Integer> getSectionList() {
    return sectionList;
  }

  public void setSectionList(List<Integer> sectionList) {
    this.sectionList = sectionList;
  }
}
